import request from '@/utils/request'
export default {
  getAuthorityGroup (data) {
    return request({
      ContentType: 'application/json',
      url: '/scs/authorityGroupManage/getAuthorityGroup',
      method: 'post',
      data
    })
  }  ,  getAuthorityOptions (data) {
    return request({
      ContentType: 'application/json',
      url: '/scs/authorityGroupManage/getAuthorityOptions',
      method: 'post',
      data
    })
  }  ,  addAuthorityGroup (data) {
    return request({
      ContentType: 'application/json',
      url: '/scs/authorityGroupManage/addAuthorityGroup',
      method: 'post',
      data
    })
  }  ,  updateAuthorityGroup (data) {
    return request({
      ContentType: 'application/json',
      url: '/scs/authorityGroupManage/updateAuthorityGroup',
      method: 'post',
      data
    })
  }  ,  deleteAuthorityGroup (data) {
    return request({
      ContentType: 'application/json',
      url: '/scs/authorityGroupManage/deleteAuthorityGroup',
      method: 'post',
      data
    })
  }  ,  queryUserLicense (data) {
    return request({
      ContentType: 'application/json',
      url: '/scs/fleet/queryUserLicense',
      method: 'post',
      data
    })
  }  , queryPossessLicense (data) {
    return request({
      ContentType: 'application/json',
      url: '/scs/authorityGroupManage/queryPossessLicense',
      method: 'post',
      data
    })
  } , queryAirportLicense (data) {
    return request({
      ContentType: 'application/json',
      url: '/scs/fleet/queryAirportLicense',
      method: 'post',
      data
    })
  }  ,
  querySubscriber1 (data) {
    AuthorityGroupManage.deleteUser()
    .then(res => {

    }).catch(err => {
      // 异常情况
      console.log(err);
    });
  }
}
